﻿using System;
using System.Reflection;
using EasyDLL.Logging;
using log4net;

namespace WebForm.AOP
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            test();
           // ILog log = log4net.LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
           // log.Info("Default.aspx下面的PageLoad方法被执行");
        }

        private void test()
        {
            LoggingWrapper.Instance.LogInfo("hello");
        }
    }
}